<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/common/taglibs.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>UPMS</title>
<%@ include file="/common/meta.jsp" %>
<link href="${ctx}/css/table.css" type="text/css" rel="stylesheet"/>
<script src="${ctx}/js/table.js" type="text/javascript"></script>
<script type="text/javascript">
function searchByPageId(){
	var form = document.getElementById("mainForm");
	form.action = "page!input.action";
	$("#mainForm").submit();
}
</script>
</head>
<body>
<div style="font-family:Arial;font-size:15px;font-weight:bold;font-style:normal;align:middle">UPMS - Page Search</div>

<form id="mainForm" action="page.action" method="get">

		<div id="message">
			<s:actionmessage theme="mytheme" cssClass="error" />
		</div>
		<div id="content">
				<table width="99.5%" class="main-content" id="apage">
				<tr>
					<td align="right">Search Page by ID:</td>
					<td><input type="text" name="pageId" size="10" id="pageId"
						value="${pageId}" /></td>
					<td align="right">&nbsp;</td>
					<td><input type="button" onclick="searchByPageId();" value = "Search"/></td>
					<td>&nbsp;</td>
				</tr>
				</table>
		</div>
	
</form>	
</body>
</html>